package extends_try;

public class spiderman extends superman implements hero,husband{
    public spiderman(int age, String name) {
        super(age, name);
    }

    @Override
    public void superPower() {
        System.out.println("像蜘蛛一样的人");
    }

    @Override
    public void helpOther() {
        System.out.println("帮助jane面对生活");
    }

    @Override
    public void hitBad() {
        System.out.println("打败章鱼博士");
    }

    @Override
    public void marry() {
        System.out.println("和jane结婚");
    }

    @Override
    public void liveTogether() {
        System.out.println("和jane住在一起");
    }

    @Override
    public void eat() {
        System.out.println("白人饭");
    }

    public void show(String slogan){
        System.out.println(slogan);
    }

    public void show(){
        System.out.println("能力越大，责任越小");
    }
}
